<?php /* Smarty version 2.6.18, created on 2016-12-09 14:42:09
         compiled from change/m.changenotes.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--头部 end--> 
<!--主体部分-->
<form action="" method="get">	
<div class="container" style="margin-top:70px;">  
  <div class="row" style="margin-top:10px;">
    <div class="col-sm-12 distance hierarchy" >
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">教师姓名：</label>
        <div class="col-sm-10 ">
		<?php if ($this->_tpl_vars['staff_id'] != ''): ?>
		<?php echo $this->_tpl_vars['staff_data']['staff_name']; ?>

		<?php else: ?>
          <input type="text"  class="form-control " name="staff_name">
		  <?php endif; ?>
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance hierarchy" >
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">开始时间：</label>
        <div class="col-sm-10 ">
          <input type="text" id="datepicker" class="form-control ">
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance hierarchy2" >
      <div class="form-group">
        <label for="" class="col-sm-2  control-label">结束时间：</label>
        <div class="col-sm-10 ">
          <input type="text" id="datepicker2" class="form-control ">
        </div>
      </div>
    </div>
    <div class="col-xs-12  distance hierarchy2">
      <div class="form-group text-center" style="padding-top:0px;">
		<input type="hidden" name="personnel_type" value="<?php echo $this->_tpl_vars['personnel_type']; ?>
">
		<input type="hidden" name="a" value="change.list">
        <button type="submit" class="btn btn-success absolutely ">搜索</button>
      </div>
    </div>
  </div>
  </form>
  <div class="row content-top">
    <h5>人事变动记录共 <?php echo $this->_tpl_vars['count']; ?>
 条</h5>
	<?php $_from = $this->_tpl_vars['staff_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
    <table class="table table-striped table-bordered text-center"  id="middles">
      <tr>
        <td>编号</td>
        <td><?php echo $this->_tpl_vars['value']['staff_number']; ?>
</td>
      </tr>
      <tr>
        <td>姓名</td>
        <td><?php echo $this->_tpl_vars['value']['staff_name']; ?>
</td>
      </tr>
      <tr>
        <td>变动事项</td>
        <td><?php echo $this->_tpl_vars['value']['personnel_variation']; ?>
</td>
      </tr>
      <tr>
        <td>日期</td>
        <td><?php echo $this->_tpl_vars['value']['start_time']; ?>
</td>
      </tr>
      <tr>
        <td>源单位</td>
        <td><?php echo $this->_tpl_vars['value']['personnel_from']; ?>
</td>
      </tr>
      <tr>
        <td>目的单位</td>
        <td><?php echo $this->_tpl_vars['value']['personnel_to']; ?>
</td>
      </tr>
      <tr>
        <td>在岗信息</td>
        <td><?php echo $this->_tpl_vars['value']['staff_sign']; ?>
</td>
      </tr>
      <tr>
        <td>备注</td>
        <td><?php echo $this->_tpl_vars['value']['personnel_remark']; ?>
</td>
      </tr>
      <tr>
        <td>操作</td>
        <td ><a type="button" class="btn btn-danger  " href="index.php?a=change.add&staff_id=<?php echo $this->_tpl_vars['value']['staff_id']; ?>
&personnel_type=1" >修改</a></td>
      </tr>
    </table>
 <?php endforeach; endif; unset($_from); ?>
  </div>
</div>
<!--container  end--> 

<!--主体部分  end--> 
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>